//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop


#include "Unit1.h"
#include "Unit2.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm2 *Form2;
//---------------------------------------------------------------------------
__fastcall TForm2::TForm2(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm2::Button1Click(TObject *Sender)
{
 Form5->Visible = true;
 Form5->Icon->LoadFromResourceName((int) HInstance, "WINICON2");
}
//---------------------------------------------------------------------------
void __fastcall TForm2::Button2Click(TObject *Sender)
{
 Form2->Icon->LoadFromResourceName((int) HInstance, "WINICON1");
}
//---------------------------------------------------------------------------

void __fastcall TForm2::Button3Click(TObject *Sender)
{
	Form2->Icon->LoadFromResourceName((int) HInstance, "MAINICON");
     Form5->Icon->LoadFromResourceName((int) HInstance, "MAINICON");
}
//---------------------------------------------------------------------------

